import Layout from '@/layout'

export default {
  path: '/nested',
  component: Layout,
  redirect: '/nested/f',
  name: 'Nested',
  meta: {
    title: '点位管理',
    icon: 'nested'
  },
  children: [
    {
      path: 'f',
      component: () => import('@/views/nested/f/index'), // Parent router-view
      name: 'f',
      meta: { title: '区域管理' }
    },
    {
      path: 'g',
      component: () => import('@/views/nested/g/index'),
      name: 'g',
      meta: { title: '点位管理' }
    },
    {
      path: 'o',
      component: () => import('@/views/nested/o/index'),
      name: 'o',
      meta: { title: '合作商管理' }
    }
  ]
}
